home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 February / Macworld (2000-02).dmg / Shareware World / Comms & Internet / Flex-Able 1.0 / FADocs / mail.able < prev    next >
Text File  |  1999-12-07  |  1KB  |  48 lines

  1. <:set form <:read_form>>
  2. <html>
  3.     <head>
  4.         <link rel=stylesheet type="text/css" HREF="fa.css">
  5.         <title>Flex-Able: Mail Test</title>
  6.     </head>
  7. <body>
  8.  
  9. <DIV CLASS="topic">Test Mail</DIV>
  10. <p><br>
  11. <p><br>
  12.  
  13. <:require form["semail"] form["remail"] form["comment"]>
  14. <:mail>
  15. To: <:echo form["rname"]  " <" form["remail"] ">" >
  16. From: <:echo form["sname"] " <" form["semail"] ">" >
  17. Errors-To: <<:echo form["semail"]>>
  18. Subject: Automated Email
  19. X-Priority: <:echo form["priority"]>
  20.  
  21. <:echo form["comment"]>
  22.  
  23. <:/mail>
  24.  
  25. <ul>
  26. Your email is on its way to <br>
  27. <:echo form["rname"]  "  " form["remail"] " " >
  28.  
  29. </ul>
  30.  
  31. <:else>
  32.     <h2>You neglected to fill out the following required fields:</h2>
  33.     <pre>
  34.         <:ifempty form["semail"]>Sender's email address
  35.             <:/ifempty>
  36.         <:ifempty form["remail"]>Recipient's email address
  37.             <:else>But you entered the recipient's email, which is something
  38.             <:/ifempty>
  39.         <:ifempty form["comment"]>The body of the message
  40.             <:/ifempty>
  41.     </pre>
  42. <:/require>
  43.  
  44. <hr>
  45. <A HREF="quickstart.html" CLASS="back">back to Quick Start</A> 
  46. </body>
  47. </html> 
  48.